﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.Supplier
{
    /// <summary>
    /// 供应商分类
    /// </summary>
    public class Classifications
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//IsPrimaryKey 主键 IsIdentity 自增
        public int ClassIficationsId {  get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnDataType = "NVarchar(50)")]//设置长度 IsNullable可空
        public string ClassIficationsName { get; set; }
    }
}
